package nml.mail.reg.smtp;



import nml.mail.reg.Reg;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class x21cn_com extends Reg{

	public void reg(String username, String password) {
		

		String url = "http://fmail.21cn.com/freeinterface/jsp/register/reg_moblie.htm";
		get(url);

		dr.findElement(By.className("last")).click();

		dr.findElement(By.id("userName")).sendKeys(username);
		dr.findElement(By.id("passwd")).sendKeys(password);
		dr.findElement(By.id("confirmPasswd")).sendKeys(password);

		dr.findElement(By.id("recaptcha_response_field")).click();
		
		
		System.out.println(username+"@21cn.com");

		
	}

	public static void main(String[] args) {
		new x21cn_com().reg("wewinno1", "qq3131798654");
	}

}
